package edu.uni.dormitory.mapper;

import edu.uni.dormitory.bean.LiveAreaManager;
import edu.uni.dormitory.bean.LiveAreaManagerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @author 陈楚城
 * @create 2019.05.03
 * @function 映射
 */
public interface LiveAreaManagerMapper {
    int countByExample(LiveAreaManagerExample example);

    int deleteByExample(LiveAreaManagerExample example);

    int deleteByPrimaryKey(Long id);

    int insert(LiveAreaManager record);

    int insertSelective(LiveAreaManager record);

    List<LiveAreaManager> selectByExample(LiveAreaManagerExample example);

    LiveAreaManager selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") LiveAreaManager record, @Param("example") LiveAreaManagerExample example);

    int updateByExample(@Param("record") LiveAreaManager record, @Param("example") LiveAreaManagerExample example);

    int updateByPrimaryKeySelective(LiveAreaManager record);

    int updateByPrimaryKey(LiveAreaManager record);
}